<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/23 0023
  Time: 12:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>显示数组数据</title>
<body>
</head>
<%
    String name[]={"胡歌","林依晨","霍建华"};
    request.setAttribute("names",name);
%>
<c:forEach var="name1" items="${requestScope.names}">
    ${name1}
</c:forEach>

</body>
</html>
